﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Model
{
    public class KPIAssignDetail : BaseAttribute
    {
        public KPIAssignDetail() 
        {
            ID = 0;
            //KPI = null;
            KPI = new KPI();
            //KPIAssign = null;
            KPIAssign = new KPIAssign();
            //Employee = null;
            Employee = new Employee();
            Weight = 0;
            UoM = null;
            UoMDetailMax = null;
            UoMDetailMin = null;
            WeightEnableFlag = false;
            UoMEnableFlag = false;
            Polarization = string.Empty;
            ManualCalculation = 0;
            isActive = false;
            Mandatory = false;
            AssignBy = 0;
        }
        public int ID { get; set; }
        public KPI KPI { get; set; }
        public KPIAssign KPIAssign { get; set; }
       
        public Employee Employee { get; set; }
        public int Weight { get; set; }
        public UoM UoM { get; set; }
        public UoMDetail UoMDetailMax { get; set; }
        public UoMDetail UoMDetailMin { get; set; }
        public bool WeightEnableFlag { get; set; }
        public bool UoMEnableFlag { get; set; }
        public string Polarization { get; set; }
        public int ManualCalculation { get; set; }
        public bool isActive { get; set; }
        public bool Mandatory { get; set; }
        public int AssignBy { get; set; }
    }
}